-- card: 4575 from stack: in -- bmap block id: 4235 -- flags: 0000 -- background id: 3889 -- name: -- part 6 (button) -- low flags: 00 -- high flags: A000 -- rect: left=19 top=31 right=84 bottom=83 -- title width / last selected line: 0 -- icon id / first selected line: 19769 / 19769 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Button FX ----- HyperTalk script ----- on mouseUp global theScript -- This gets the script of the most recently added button get the script of button the number of buttons put it into theScript put 1 into theLine repeat until theLine > the number of lines in theScript if line theLine of theScript contains "go" then visual iris open slow push this card go to card id 3165 of stack "F/X" exit mouseUp end if add 1 to theLine end repeat -- if we got this far, the button has no destination if theLine > the number of lines in theScript then answer "Set a destination first, please!" end if end mouseUp -- part contents for background part 2 ----- text ----- How To Use Button F/X -- part contents for background part 1 ----- text ----- Button F/X allows you to add visual effects to a new button without having to modify the button script yourself. It will only function on NEW buttons - not on buttons already created. (Maybe the next release...) 1. Copy the button above to the card you are going to be adding the new buttons to. Put it anywhere convenient - you'll delete it when you're done, anyway. -- part contents for background part 5 ----- text ----- 1